package routers

import (
	"github.com/gin-gonic/gin"
	"go_src/controller"
)

func LoadCategory(e *gin.Engine) {

	e.GET("/category", controller.GetCategoryList)
	e.POST("/category", controller.SaveCategory)
	//e.PUT("/announcement/:id", controller.UpdateAnnouncement)
	//e.DELETE("/announcement/:ids", controller.DeleteAnnouncement)
}
